import page
from pyecharts.charts import Grid, Page
from pyecharts import options as opts
from Huitu1 import bar1
from Huitu2 import bmap
from Huitu3 import bar3, gauge
from Huitu4 import pie
from Huitu5 import line
from Huitu6 import bar2
from Huitu7 import Radar1

page = Page(layout=Page.SimplePageLayout, page_title="西宁市公交可视化平台")
# DraggablePageLayout

page.add(bmap, bar1, bar2, bar3, line, pie, gauge, Radar1)
page.render("main.html")
Page.save_resize_html(
    source="main.html",
    cfg_file="chart_config.json",
    dest="西宁公交可视化平台.html"
)
